public class Main {
    public static void main(String[] args){
        int x=1;
        int y=2;
        if (x%2==0){
            y++;
        }else {
            y--;
        }
        System.out.println("y="+y);
    }

    public void demo() {
    }
}